internal static AuthorityPath scanAuthority(ParseStream oParseStream) { GCSAuthority oGCSAuthority = new GCSAuthority(); if (oGCSAuthority.scan(oParseStream)) { return oGCSAuthority; } XRefAuthority oXRefAuthority = new XRefAuthority(); if (oXRefAuthority.scan(oParseStream)) { return oXRefAuthority; } IRIAuthority oIRIAuthority = new IRIAuthority(); if (oIRIAuthority.scan(oParseStream)) { return oIRIAuthority; } return null; }